package com.zzyl.nursing.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

@Data
@ApiModel(description = "树形结构数据VO")
public class TreeVO {

    @ApiModelProperty(value = "节点标签名称", example = "一楼")
    private String label;

    @ApiModelProperty(value = "节点值", example = "1")
    private String value;

    @ApiModelProperty(value = "子节点列表")
    private List<TreeVO> children;
}
